<div id="nav-wrapper">
    <ul id="nav"
        data-ng-controller="NavCtrl"
        data-collapse-nav
        data-slim-scroll
        data-highlight-active>
        <li><a href="#/home"> <i class="fa fa-dashboard"><span class="icon-bg bg-danger"></span></i><span
                data-i18n="首页"></span> </a></li>
        #foreach($parent in $menu)
        <li>
            <a href="#/table"><i class="fa ${parent.icon}"><span class="icon-bg bg-warning"></span></i><span
                    data-i18n="${parent.title}"></span></a>
            <ul>
                #foreach($info in $parent.list)
                <li><a href="#/${info.url}"><i class="fa fa-caret-right"></i><span data-i18n="${info.title}"></span></a></li>
                #end
            </ul>
        </li>
        #end
    </ul>
</div>